from celery import shared_task
from .utils import check_due_tasks, order_dinner


@shared_task
def test_due_tasks_notification():
    print("到期任务通知任务开始执行...")
    check_due_tasks()
    print("到期任务通知任务结束...")


@shared_task
def order_dinner_task():
    print("订餐任务开始执行...")
    order_dinner()
    print("订餐任务结束...")
